import request from '../utils/request'

// 接口返回结构固定
// data 的类型, 传进来
type Result<T = undefined> = {
    code: string,
    message: string,
    data: T
}

//  轮播图
export function banner(){
    return request.get('/banner/list')
}